const readline = require('readline');

const rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout
});

function ask(question) {
    return new Promise(resolve => {
        rl.question(question, answer => resolve(answer));
    });
}

async function main() {
    const name = await ask('你叫什么名字(what is your name)？ ');
    const age = await ask('你几岁(how old are you)？ ');
    const height = await ask('你多高(how tall are you)？ ');
    const weight = await ask('你多重(how much do you weigh)？ ');

    console.log({ name, age, height, weight });

    rl.close();
}

main();
